package per.chao.mqtt.domain.auth;

import org.springframework.stereotype.Component;
import per.chao.mqtt.domain.interfaces.auth.IAuth;

/**
 * Description:
 *
 * @author W.Chao
 * @date 2021/6/19 22:55
 **/
@Component
public class Auth implements IAuth {
	@Override
	public boolean valid(String username, String password) {
		return username.equals(password);
	}
}
